package appapi.dto.bigScreenDto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 车辆每日进出统计
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/11/08 16:45
 */
@ApiModel("车辆每日进出统计")
@Data
public class CarDayInOutDto {
    @ApiModelProperty(value = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "当天驶入车辆数")
    private Integer dayInCount;

    @ApiModelProperty(value = "当天驶出车辆数")
    private Integer dayOutCount;
}
